﻿using Basic.FlowRemoteModel;
using Basic.FlowRemoteModel.Application.Model;

namespace Basic.FlowApplication.Model
{
    public class NodeGroup
    {
        public long NodeId { get; set; }

        public string NodeName { get; set; }

        /// <summary>
        /// 节点下发流程走向策略
        /// </summary>
        public FlowNodeOutPolicy OutPolicy
        {
            get;
            set;
        }
        /// <summary>
        /// 跳过忽略掉的节点
        /// </summary>
        public JumpNode Ignore { get; set; }
        public List<NodeGroup> Children
        {
            get;
            set;
        } = new List<NodeGroup>();
        public List<AuditNode> Node
        {
            get;
            set;
        } = new List<AuditNode>();
    }
}
